chars = Hash[
			'0' => [' ', '0'],
			'1' => [',','.','?','!', '1'],
			'2' => ['a','b','c','2'],
			'3' => ['d','e','f','3'],
			'4' => ['g','h','i','4'],
			'5' => ['j','k','l','5'],
			'6' => ['m','n','o','6'],
			'7' => ['p','q','r','s','7'],
			'8' => ['t','u','v','8'],
			'9' => ['w','x','y','z','9'],
			'*' => [],
			'#' => [' ']]
last = nil
count = 0
ARGF.read.each_char do |x|
	if x.eql? last
		count += 1
	else
		unless last.nil? or chars[last].nil?
			print chars[last][count%(chars[last].size)]
		end
		last = x
		count = 0
	end
end
